<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        #app{
            width: 100px;
            height: 100px;
            background: pink;

            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: auto;

            background-image: url("./img/xm.jpg");
            background-repeat: no-repeat;
            /*background-position的百分比参照 container width - image width*/
            background-position: -11px -11px;
        }


    </style>
</head>
<body>
    <div id="app">

    </div>
</body>
</html>